package org.grow.mpgo.exception;

/**
 * @Author: xwg
 * @CreateDate: 21-7-13
 */


public class TuesdayException extends RuntimeException {

    private Integer code;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public TuesdayException(String message, Integer code) {
        super(message);
        this.code = code;
    }
    public TuesdayException(String message) {
        super(message);
        this.code = 1024;
    }
}
